package dq.study.designmodel.factory.abstractFactory;

import dq.study.designmodel.factory.model.food.Banlane;
import dq.study.designmodel.factory.model.food.Food;
import dq.study.designmodel.factory.model.vehicle.Plane;
import dq.study.designmodel.factory.model.vehicle.Vehicle;

/**
 * @author dongqun
 * @Description: 萝莉系工厂在飞机上吃香蕉
 * @date 2019/3/20 22:58
 */
public class LolitaFactory extends AbstractFactory {

    @Override
    public Food createFood() {
        return new Banlane();
    }

    @Override
    public Vehicle createVehicle() {
        return new Plane();
    }
}
